using System;
using System.Collections.Generic;
using System.Text;

namespace Pampa.WebControls
{
    public class VerticalMenuSection
    {
        private string title;
        private List<VerticalMenuItem> items;

        public VerticalMenuSection()
        {
            items = new List<VerticalMenuItem>();
        }

        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        public List<VerticalMenuItem> Items
        {
            get { return items; }
        }

        public VerticalMenuItem AddItem(string title, string link)
        {
            VerticalMenuItem item = new VerticalMenuItem();
            item.Title = title;
            item.Link = link;
            items.Add(item);

            return item;
        }
    }
}
